testlistview: Create widgets only once
authorBenjamin Otte <otte@redhat.com>
Wed, 26 Sep 2018 00:18:13 +0000 (02:18 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:45 +0000 (19:26 -0400)
commitd8eec549f099d61d18971708c6eee6d69ad5b7a4
treee57a86039f92f8c453177c12f6a2f3a138018ce1
parent7389e704dceb5282f6d080610486f9240b8c838b
testlistview: Create widgets only once

Previously, we were recreating all widgets every time the list item was
rebound, which caused a lot of extra work every time we scrolled.

Now we keep the widgets around and only set their properties again when
the item changes.
tests/testlistview.c